import java.text.SimpleDateFormat

object testDate extends App {
  val dateStr = "00:00:00"
  val pattern = "HH:mm:ss"
  val date = new SimpleDateFormat(pattern).parse(dateStr)
  println(date.getTime)
  println(new SimpleDateFormat("HH:mm:ss").format(date.getTime+15*1000*60))

}
